//app.js
import { Token } from 'utils/token.js';

App({
	onLaunch: function (options) {
		var token = new Token();
		token.verify();
		if (options.referral_code){
			wx.setStorageSync('referral_code_by_other', options.referral_code);
		}
	},

	onShow: function () {
		console.log(wx.getStorageSync('referral_code'))
	},
	
})